package com.tanhua.dubbo.api;

import com.tanhua.model.domain.User;

public interface UserApi {
    //根据手机号查询用户
    User findByMobile(String mobile);
    //根据id查询用户
    User getByID(Long id);
    //保存用户返回用户id
    Long save(User user);



    void update(User user);

    User getByHxID(String hxId);


}
